/*
 * @Author       : Joel
 * @Date         : 2025-03-31 13:28:41
 * @LastEditors  : Joel
 * @LastEditTime : 2025-04-01 09:53:05
 * @FilePath     : /usr/board_driver/code_data.h
 * @Description  :
 * Copyright(C)2025 YiJiaLink, All Rights Reserved.
 * 2025-03-31 13:28:41
 */
#ifndef __CODE_DATA_H
#define __CODE_DATA_H

#include "py32f0xx_ll_utils.h"

#if defined(__cplusplus)
extern "C"
{
#endif /*_cplusplus*/

    enum _LAMP_MODE
    {
        ONE_LEVEL,
        TWO_LEVEL,
        THREE_LEVEL,
        FOURE_LEVEL,
        FIVE_LEVEL,
        SIX_LEVEL,
        SEVEN_LEVEL,
        EIGHT_LEVEL,
    };

    typedef struct _data_loop
    {
        uint16_t button_index : 1;
        uint16_t motor_flag : 1;
        uint16_t menu_mode : 2;
        uint16_t not_use : 12;
    } data_loop;

#if defined(__cplusplus)
}
#endif /*_cplusplus*/

#endif
/* el psy congroo */